package com.collabscm.pf.vo;

import com.collabscm.pf.BaseObject;

/**
 * Ajax请求的响应内容
 *
 * @author Zeng Raoxing
 */
public abstract class AjaxResponse extends BaseObject {
	private static final long serialVersionUID = 1L;
	public static final String SUCCESS = "success";
	public static final String FAILURE = "failure";
	public static final String EXCEPTION = "exception";
	/**
	 * 结果类型，取值包括："success"、"failure"、"exception"
	 */
	private String resultType;
	
	public AjaxResponse(String resultType) {
		this.resultType = resultType;
	}
	
	public String getResultType() {
		return this.resultType;
	}

}
